<template>
  <div>
      <router-link v-for="list of lists" v-text="list.text+'  '" :key="list.id" :to="list.url"></router-link>
  </div>
</template>


<script>
export default {
  name:'list',
  data(){
      return{
          lists:[
              {
                text:'首页',
                url:'/'
              },
              {
                text:'指定变色列表',
                url:'/vfor/'
              },
              {
                text:'搜索页模拟',
                url:'/search/'
              },
              {
                text:'学生信息',
                url:'/studentInfo/'
              }
            ]
      }
  }
}
</script>
